package momo.multitree.visual;

import java.io.FileNotFoundException;
import java.io.FileReader;

import momo.multitree.structure.Graph;
import junit.framework.TestCase;

public class GraphVizGraphOutputTest extends TestCase
{
	public void testOutput() throws FileNotFoundException, Exception
	{
		String filename = "5_node_symmetric_dataset_1.txt";
		Graph g = new Graph(new FileReader("dataset/"+filename));
		GraphVizGraphOutput tool = new GraphVizGraphOutput();
		g.setVisualTool(tool);
		g.outputVisual("5_node_symmetric_dataset_1");
	}
}
